﻿<!DOCTYPE html>
<html>
<head>
    <title>@R("Page title")</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/datatables/dataTables.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content( "~/Content/fancybox/jquery.fancybox.css" )" rel="stylesheet" type="text/css" />
    @if( CanEditEAS )
    {
    <link href="@Url.Content( "~/Content/eas.admin.css" )" rel="stylesheet" type="text/css" />
    }
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content( "~/Scripts/dataTables.min.js" )" type="text/javascript"></script>
    <script src="@Url.Content( "~/Scripts/jquery.dataTables.columnFilter.js" )" type="text/javascript"></script>
    <script src="@Url.Content( "~/Scripts/jquery.fancybox.js" )" type="text/javascript"></script>
    @if( CanEditEAS )
    {
     <script type="text/javascript">
        // setup globals
        var InlineGetEASStringUrl = "@Url.Action( "GetStringInfo", "EAS", new { area = "admin" } )";
        var InlineSaveEASStringUrl = "@Url.Action( "SaveStringInfo", "EAS", new { area = "admin" } )";
    </script>
    <script src="@Url.Content( "~/Scripts/jquery.simpldrag.js" )" type="text/javascript"></script>
    <script src="@Url.Content( "~/Scripts/eas.admin.js" )" type="text/javascript"></script>
    }
</head>

<body>
    @RenderBody()

    <hr />
    @S( "XYZ company, {0}", null, DateTime.Now.Year )

@if( CanEditEAS )
{
<script type="text/javascript">
     showRequestStringsHandler( @Html.GetRequestEditableStringsJson( RequestEditableStrings ) );
</script>   
}
</body>
</html>
